import request from '@/utils/request';


// 管网资产总览
export function getPipelineRetworkMonitoring(params) {
  return request({
    url: '/dispatch/api/pipeline/overview',
    method: 'get',
    params
  })
}

// 巡检工单统计
export function getPipelineRetworkMonitoringSortSelect() {
  return request({
    url: '/dispatch/api/pipeline/workOrderStatistics',
    method: 'get'
  })
}

// 保养工单统计
export function getPipelineRetworkMonitoringTypeSelect() {
  return request({
    url: '/dispatch/api/pipeline/maintenanceStatistics',
    method: 'get'
  })
}

// 化验工单统计
export function getPipelineRetworkMonitoringCheckSelect() {
  return request({
    url: '/dispatch/api/pipeline/laboratoryWorkOrderStatistics',
    method: 'get'
  })
}


// 获取管网信息列表

export function getPipelineRetworkMonitoringList(params) {
  return request({
    url: '/dispatch/backend/statistics/pipe/list',
    method: 'get',
    params
  })
}


// 获取水表设备列表
export function getPipelineRetworkMonitoringWaterMeterList(params) {
  return request({
    url: '/dispatch/backend/statistics/pipe/waterMeter/list',
    method: 'get',
    params
  })
}


// 获取阀门井列表信息
export function getPipelineRetworkMonitoringValveList(params) {
  return request({
    url: '/dispatch/web/well/list',
    method: 'get',
    params
  })
}